import styled from "styled-components";
// webpack中的图片使用方式：要么需要先导入，或者使用require
import cover from '@/assets/image/cover_01.jpeg'

export const BannerWrapper = styled.div`
  height: 529px;
  /* 方式一 */
  background-image: url(${cover});
  /* 方式二：webpack4.x后需要加default */
  /* background-image: url(${require('@/assets/image/cover_01.jpeg').default}); */
  background-position: center;
  background-size: cover;
`